<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>
        <!DOCTYPE html>
        <html lang="en">

        <head>
            <meta charset="UTF-8">
            <title>Add Student</title>
            <style>
                .container {
                    width: 300px;
                    height: 200px;
                    margin: 200px auto;
                }

                .item {
                    margin-bottom: 20px;
                }
            </style>
        </head>

<body>
    <div class="container">
        <form action="/stu/change/{{stu.sid}}" method="post">
            <div class="item">
                <label>姓名:</label>
                <input type="text" placeholder="请输入姓名" name="name" value="{{stu.name}}">
            </div>
            <div class="item">
                <label>年龄:</label>
                <input type="text" placeholder="请输入年龄" name="age" value="{{stu.age}}">
            </div>
            <div class="item">
                <label>性别:</label>
                <input type="text" placeholder="请输入性别" name="gender" value="{{stu.gender}}">
            </div>
            <div class="item">
                <label>地址:</label>
                <input type="text" placeholder="请输入地址" name="address" value="{{stu.address}}">
            </div>
            <div class="item">
                <button type="submit">修改</button>
            </div>
        </form>
    </div>
</body>

</html>